From a63f658b5516f2412460b43953cdd6e912f29168 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 25 Mar 1993 06:32:43 +0000 Subject: [PATCH] (Fy_or_n_p): Ensure cursor_in_echo_area = 0 when quit. --- src/fns.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fns.c b/src/fns.c index 27927d73abe..667612237af 100644 --- a/src/fns.c +++ b/src/fns.c @@ -1112,6 +1112,10 @@ Also accepts Space to mean yes, or Delete to mean no.") cursor_in_echo_area = 1; obj = read_char (0, 0, 0, Qnil, 0); + cursor_in_echo_area = 0; + /* If we need to quit, quit with cursor_in_echo_area = 0. */ + QUIT; + key = Fmake_vector (make_number (1), obj); def = Flookup_key (map, key); answer_string = Fsingle_key_description (obj); -- 2.30.2